package com.warm.pump.module.monitor.service;

import com.warm.pump.frame.gen.bean.PageBean;
import com.warm.pump.module.monitor.bean.po.gen.MonitorCache;

import java.util.List;
import java.util.Map;

/**
 * monitor_cache
 *
 */
public interface IMonitorCacheService {

	MonitorCache queryObject(Long id);

   MonitorCache queryObject(Map<String, Object> map);

	List<MonitorCache> queryList(Map<String, Object> map);

    PageBean getPageBeanByMap(Map map, int pageNo, int pageSize);

    List<Map<String,Object>> getCacheKeys(String cacheName, String keyName);

	void deleteCacheInfo(String cacheName, String keyName);

	Map<String,Object> getCacheInfo(String keyName, String cacheName);

	int queryTotal(Map<String, Object> map);

	void save(MonitorCache monitorCache);

	void update(MonitorCache monitorCache);

    void delete(Map<String, Object> map);
	void delete(Long id);

	void deleteBatch(Long[] ids);
}
